Release 10.1A: OpenEdge Reporting:
Report Builder Deployment
Table interface quick start example
As described in the "Table interface basics" section, there are three steps you must perform to use this interface. The first step in this example is to create the Report Engine table in a new or existing database. Use the
rbreport.dfdefinition file to get started more easily with the interface. The file contains loadable definitions for the RBREPORT table. The second step is to create a record in the table and set some of the fields in that record, and the third step is to invoke Report Engine. Therbstart1.pprocedure performs the second and third tasks as an example.
![]()
To create the Report Engine table using the rbreport.df file, and then invoke Report Engine using it:
- Create a database called Runtable containing the Report Engine table. You can use the database definition file (
%DLC%\bin\rbreport.df) that contains loadable definitions for the RBREPORT table. (Note that you can give the database any name you choose, and it can contain other tables, such as the tables that contain your report data.)- Create an MS-Windows icon with the following command on the command line:
Note that
dbnamecontains the full pathname of the Runtable database.- Double-click the MS-Windows icon to start the database server. The icon becomes minimized.
- Start the Procedure Editor and connect to the Runtable database in multi-user mode.
- Run the
rbstart1.pprocedure.Here is the code for the
rbstart1.pprocedure:
The commented numbers correspond to the following step-by-step descriptions:
- Create an RBREPORT record.
- Enter the values for five of the record fields. Report Engine uses the default values for the fields for which you do not specify a value.
- Call the
_prore.pprocedure to invoke Report Engine and specify theNO-WAIT-valueand the database connection information. By specifying “false” as theNO-WAIT-value, you instruct the_prore.pprocedure to wait until Report Engine completes processing before continuing with the application. Finally, the Report Delete (-rbdel) parameter deletes the record from the Report Engine table when the procedure is done.See the "Methods of invoking Report Engine" section for more information about the
_prore.pprocedure.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |